Skip to content

Conversation

andygolay
Copy link

@andygolay andygolay commented Jun 12, 2025

Description

Per devrel request, update Movement CLI network endpoints and ensure faucet works with testnet on movement init.

Changes:

  • Update testnet endpoint and enable mainnet for movement init.
  • Enable faucet for testnet on movement init.
  • Update explorer endpoints.
  • Update some atomic bridge and native bridge docs and SDK that hadn't been updated after disabling those modules.
  • Add ignoring config.yaml files to .gitingore because I noticed on git add . my config.yaml file was added.
  • Make CLI default to testnet. (Init with devnet also works.)

Type of Change

  • New feature
  • [ x] Bug fix
  • Breaking change
  • [ x] Performance improvement
  • Refactoring
  • Dependency update
  • Documentation update
  • Tests

Which Components or Systems Does This Change Impact?

  • Validator Node
  • Full Node (API, Indexer, etc.)
  • Move/Aptos Virtual Machine
  • Aptos Framework
  • [ x] Aptos CLI/SDK
  • Developer Infrastructure
  • Other (specify)

How Has This Been Tested?

To test, run:
cargo build -p movement
then
./target/debug/movement init
and play with the different options.

  • Testnet account should be quickly init and funded, and explorer link should work.
  • Mainnet account should be init and not funded; explorer link should still work.

Key Areas to Review

Checklist

  • [ x] I have read and followed the CONTRIBUTING doc
  • [ x] I have performed a self-review of my own code
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • [ x] I identified and added all stakeholders and component owners affected by this change as reviewers
  • [ x] I tested both happy and unhappy path of the functionality
  • [ x] I have made corresponding changes to the documentation

Outstanding Issues

@andygolay andygolay requested a review from l-monninger June 13, 2025 07:39
l-monninger
l-monninger previously approved these changes Jun 16, 2025
profile_config.rest_url = Some("https://aptos.devnet.inola.movementlabs.xyz/v1".to_string());
profile_config.faucet_url = Some("https://faucet.devnet.inola.movementlabs.xyz".to_string());
profile_config.rest_url =
Some("https://aptos.devnet.inola.movementlabs.xyz/v1".to_string());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've a Devnet deployed. The entry point are:

https://full.devnet.movementinfra.xyz/v1
https://faucet.devnet.movementinfra.xyz

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay good to know, I'll update thanks.

Some("https://full.testnet.movementinfra.xyz/v1".to_string());
profile_config.faucet_url =
Some("https://faucet.testnet.suzuka.movementlabs.xyz/".to_string());
Some("https://faucet.testnet.movementinfra.xyz/v1".to_string());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Faucet entry point doesn't have the /v1 the url is:

https://faucet.testnet.movementinfra.xyz

profile_config.rest_url =
Some("https://aptos.devnet.inola.movementlabs.xyz/v1".to_string());
profile_config.faucet_url =
Some("https://faucet.devnet.inola.movementlabs.xyz".to_string());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the faucet for devnet.

Some("https://faucet.devnet.inola.movementlabs.xyz".to_string());
},
Network::Local => {
profile_config.rest_url = Some("http://localhost:8080".to_string());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The url doesn't have the /v1, so I'm not sure if it's needed for the other one.
I'm not sure the local url for movement node is not the 8080 port?
You can add a faucet url too.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought :8080 worked for me but I'll double check.

@0xmovses
Copy link
Collaborator

Other than Philippe's comments, this looks good.

@andygolay
Copy link
Author

andygolay commented Jun 21, 2025

@shayansanjideh @Rahat-ch should movement init default to devnet? Or testnet?

network
} else {
eprintln!("Choose network from [testnet, local, custom | defaults to testnet]");
eprintln!("Choose network from [devnet, testnet, local, custom | defaults to testnet]");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@andygolay andygolay requested a review from l-monninger June 24, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants